home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 945 b | 41 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-1994 by Apple Computer, Inc., all rights reserved.
-
- //# For AltPoint problem
-
- #ifndef _GEOTYPES_
- #define _GEOTYPES_
-
- #if defined(__SOMIDL__) && defined(EMIT_GEOTYPES)
- #pragma somemittypes on
- #endif
-
- typedef long ODCoordinate; // Graphics coordinates; 16.16 fixed by default
-
-
- struct ODPoint {
- ODCoordinate x, y; // Identical to "gxPoint" in QD GX.
- };
-
- // ODRect struct. We conditionalize this with a symbol, like the header files, to allow
- // alternate definitions to be included first; they can then #define _RECT_ to keep this one
- // from being defined here.
-
- // Identical to "gxRect" in QD GX.
- struct ODRect {
- ODCoordinate left;
- ODCoordinate top;
- ODCoordinate right;
- ODCoordinate bottom;
- };
-
- #if defined(__SOMIDL__) && defined(EMIT_GEOTYPES)
- #pragma somemittypes off
- #endif
-
- module OpenDoc_GeoTypes
- {
- const string OpenDoc_GeoTypes_Version = "1.0.";
- };
-
- #endif //# _GEOTYPES_
-